package com.zhuliwei.domain.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 优美句子表
 *
 * @author zlw
 * @date 2023/5/25
 */
@Data
@TableName("zlw_sentence")
public class Sentence {
    @TableId
    @ExcelIgnore
    private String id;

    @ExcelProperty("内容")
    private String content;

    @ExcelProperty("来源")
    private String source;

    @TableField(fill = FieldFill.INSERT)
    @ExcelIgnore
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ExcelProperty("添加时间")
    private Date createTime;
    @ExcelIgnore
    private String updateBy;
    @ExcelIgnore
    private Date updateTime;
    //删除标志（0代表未删除，1代表已删除）
    @ExcelIgnore
    private Integer delFlag;
}